package com.nowcoder.community.dao;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;

/**
 * @author: caoxinfang
 * @email: 2717176337@qq.com
 * @date: 2022/3/6 18:06
 */

@Repository
@Primary // 这个bean会被优先装配
public class AlphaDaoMbatisImpl implements AlphaDao{

    @Override
    public String select() {
        return "Mybatis";
    }
}
